package jtk.project4.fleet.field;

import jtk.project4.fleet.domain.Equipment;
import nl.coderight.jazz.form.FormLayout;
import nl.coderight.jazz.form.control.GroupControl;
import nl.coderight.jazz.form.field.ImageField;


public class EmployeePhotoField extends GroupControl<Equipment> {
	
	private ImageField photofield;
	
	public EmployeePhotoField(String bindID){
		setTitle("header.Photo");
		setBindID(bindID);
		createFields();
		createLayout();
	}
	
	
	private void createFields(){
		photofield = new ImageField ();
		}
	
	private void createLayout() {
		setLayout(new FormLayout ())
		.addField(photofield);
		;
	}

}